﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sector7.Framework.Utility;
using Sector7.Restaurant.Modules.REST.LocalService;
using System.Windows.Controls;
using System.Collections;

namespace Sector7.Restaurant.Modules.REST.Utility
{
    public class Aide
    {
        /// <summary>
        /// 本地服务客户端
        /// </summary>
        private static WcfClientUtil<LocalContract> _localClient = null;

        /// <summary>
        /// 获取本地服务客户端
        /// </summary>
        public static WcfClientUtil<LocalContract> LocalClient
        {
            get
            {
                if (_localClient == null)
                    _localClient = new WcfClientUtil<LocalContract>();
                return _localClient;
            }
        }
    }
}
